package cn.com.nes.mybatis.callcenter.mapper;

import cn.com.nes.mybatis.callcenter.entity.EquipmentInfo;
import cn.com.nes.site.entity.dto.call.PersonalProjectPageDto;
import cn.com.nes.site.entity.vo.project.PersonalProjectPageVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author yishuai
 */
public interface EquipmentInfoMapper extends BaseMapper<EquipmentInfo> {

    /**
     * 查询设备信息
     * @param sbId 设备ID
     * @return
     */
    EquipmentInfo findEquipmentInfoUnDelete(String sbId);


    /**
     * 查询个人项目信息
     * @param vo
     * @return
     */
    List<PersonalProjectPageDto> pagePersonalProject(Page<PersonalProjectPageDto> page,
            @Param("vo") PersonalProjectPageVo vo);

}




